package com.qf.listener.topic;

import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

/**
 * @author YDW
 * projectName:project2202_4
 * time:2022/6/11 10:54
 * description:
 */
@Component
public class TopicListener2 {

    @RabbitListener(queues = "topic_queue2")
    public void consum(String msg){
        System.out.println("主体模式+++2+++"+msg);
    }
}
